<html>
  <head>
	  <link rel="stylesheet" type="text/css" href="master.css" media="screen" />
    <title></title>
    <meta content="">
    <style type="text/css">
    
   
.offscreen {
  position: absolute;
  top: -30em;
  left: -300em;
}

div#vmenu {
   margin-top: 90;
   padding: .25em 0em .25em 0em;
   border: solid 1px #30c9e0;
   background: #72A3D7;
   width: 13.5em;
}

div#vmenu ul {
   margin: 0;
   padding: 0;
   list-style: none;
}

div#vmenu ul li {
   margin: 0;
   padding: 0;
   list-style: none;
}

div#vmenu ul a:link {
   margin: 0;
   padding: .2em 0em .2em .4em;
   text-decoration: none;
   font-weight: bold;
   font-size: medium;
   background-color: #fcac3c;
   color: #0059a0;
   display: block;
}

div#vmenu ul a:active {
   margin: 0;
   padding: .25em .5em .25em .5em;
   text-decoration: none;
   font-weight: bold;
   font-size: medium;
   background: #4d8cba;
   color: #ffffff;
   display: block;
}

div#vmenu ul a:visited {
   margin: 0;
   padding:  .25em .5em .25em .5em;
   text-decoration: none;
   font-weight: bold;
   font-size: medium;
   background: #72A3D7;
   color: #ffffff;
   display: block;
}

div#vmenu ul li a:hover {
   margin: 0;
   padding: .2em 0em .2em .4em;
   text-decoration: none;
   font-weight: bold;
   font-size: medium;
   background-color: #4b3c63;
   color: #ffffff;
   display: block;
} 
    
    </style>
  </head>
  
  <script type="text/javascript">
  function logout_confirm()
  {
		  var r=confirm("Are you sure to log out?");
	if (r==true)
	{
		return true;
	}
	else
	{
		return false;
	}
  }
  
  </script>
  
  <body> 
	  
<?php  include("../db.php");
session_start();
check_inactive();
authenticate_admin();

$id = $_SESSION['userid'];
?>
	  
	  
<h2 class="offscreen">menu</h2>

<div>
	<table>
		<tr>
			<td>
				<a  class='btn save' href='admin_profile.php' target="main" center><img src="../users/avatar<?=$id?>.jpeg" alt='user1' width='200' height='150' border='0'></a>
			</td>
		</tr>
	</table>

</div>


<div id="vmenu">
<ul>
  <li><a href="admin_profile.php" target="main">Profile</a></li>
  <li><a href="System_Report.php" target="main">System Report</a></li>
  <li><a href="Game_Management.php" target="main">Manage Games</a></li>
  <li><a href="Account_Management.php" target="main">Manage Accounts</a></li>
  <li><a href="../logout.php" onclick="return logout_confirm();" target="_top">Log out</a></li>

</ul>  
</div> 
  
  </body>
</html>
